@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import "./anji.scss";
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
.container {
  width: 1140px;
  margin: 0 auto;
}


// 大屏样式
.my-dialog {
  .el-dialog {
    background: #062b69;
    border: 1px solid #5ddaf6;
  }

  .el-dialog__header {
    border-bottom: 1px solid #5ddaf6;
    // text-align: center;
  }

  .el-dialog__title {
    color: #5cdcf9;
  }

  .el-input__inner {
    background: #091e43;
    border-color: #254e97;
  }

  .el-date-editor .el-range__icon {
    color: #5cdcf9;
  }

  input {
    background: #091e43;
  }

  .el-date-editor .el-range-input {
    color: #5cdcf9;
  }

  .form-handle {
    .el-form-item__label {
      color: #5cdcf9;
      font-weight: 500;
    }
  }

  .el-form-item {
    margin-bottom: 10px;
  }

  .el-textarea__inner,
  .el-select:hover .el-input__inner {
    background-color: #091e43;
    border-color: #254e97;
    border-bottom: 1px solid #254e97;
  }

  .el-button--blue {
    color: #fff;
    background-color: #224788;
    border-color: #224788;
  }

  .el-button--green {
    color: #fff;
    background-color: #2092ad;
    border-color: #2092ad;
  }
}

.el-input--prefix .el-input__inner {
  padding-left: 45px;
}

.el-input-group__append,
.el-input-group__prepend {
  color: #333;
}

//avue
.preview-form {
  height: auto !important;
  overflow-y: auto !important;
}

.x-spreadsheet-toolbar-btns {
  margin-left: 30px !important;
}

.ml10 {
  margin-left: 10px;
}

.Customized .CodeMirror {
  font-family: monospace;
  height: 190px !important;
  color: black;
  direction: ltr;
}

.jsoneditor-vue {
  height: 100%;
}

.printSet {
  background-image: url("../images/bianzu.png") !important;
  background-size: 19px;
  background-position: left top;
  background-repeat: no-repeat;
  position: absolute;
  opacity: 1 !important;
}

.qrCodes {
  background-image: url("../images/qrcode.png") !important;
  background-size: 19px;
  background-position: left top;
  background-repeat: no-repeat;
  position: absolute;
  opacity: 1 !important;
}

.barCodes {
  background-image: url("../images/tiaoxingma.png") !important;
  background-size: 19px;
  background-position: left top;
  background-repeat: no-repeat;
  position: absolute;
  opacity: 1 !important;
}

.collapse-input-style {

  .el-input__inner,
  .el-textarea__inner {
    background: #263445 !important;
    border: 1px solid #3f5673;
    color: #a8e3ff;
  }

  .el-slider__runway {
    height: 2px;
    background-color: #5e6b82;
  }

  .el-slider__bar {
    height: 2px;
  }

  .el-slider__button-wrapper {
    top: -17px;
  }

  .el-slider__button {
    width: 14px;
    height: 14px;
  }

  .el-switch__core {
    background-color: #5e6b82;
    border: 1px solid #3f5673;
  }

  .el-input-group__append,
  .el-input-group__prepend {
    background: #5e6b82 !important;
    border: 1px solid #3f5673;
    color: #a8e3ff;
  }

  .el-input-number__increase,
  .el-input-number__decrease {
    background: #5e6b82 !important;
    border: 1px solid #3f5673;
    color: #a8e3ff;
  }

  .el-input-number.is-controls-right .el-input-number__increase {
    height: 15px;
    border-bottom: 1px solid #3f5673;
  }

  .el-input-number.is-controls-right .el-input-number__decrease {
    border-left: 1px solid #3f5673;
  }

  .el-form-item__label {
    font-size: 12px;
    color: #bfcbd9 !important;
    font-weight: normal !important;
  }
}

// .el-form-item__label {
//   line-height: 30px !important;
//   height: 30px;
// }
// .el-form-item__content {
//   line-height: 30px !important;
//   height: 30px;
// }

//自定义表格特殊类型 文字背景
// 'highway': 'table-primary',
// 'railway': 'table-success',
// 'waterway': 'table-info',
// 'airtransport': 'table-warning',
// 'multimodal': 'table-danger'
.table-primary,
.table-success,
.table-info,
.table-warning,
.table-danger {
  border-radius: 3px;
  padding: 2px 5px;
  border-width: 1px;
  border-style: solid;
}

.table-primary {
  background: rgba(32, 182, 249, 0.1);
  border-color: rgba(32, 182, 249, 0.2);
  color: rgb(32, 182, 249);
}

.table-success {
  background: rgba(0, 226, 68, 0.1);
  border-color: rgba(0, 226, 68, 0.2);
  color: rgb(0, 226, 68);
}

.table-info {
  background: rgba(216, 216, 216, 0.1);
  border-color: rgba(216, 216, 216, 0.2);
  color: rgb(216, 216, 216);
}

.table-warning {
  background: rgba(255, 216, 40, 0.1);
  border-color: rgba(255, 216, 40, 0.2);
  color: rgb(241, 185, 0);
}

.table-danger {
  background: rgba(249, 32, 32, 0.1);
  border-color: rgba(249, 32, 32, 0.2);
  color: rgb(249, 32, 32);
}

// ::-webkit-scrollbar {

//   width: 0px !important;

//   height: 0px !important;

// }

// ::-webkit-scrollbar-thumb {

//   border-radius: 10px;

//   width: 0px;

//   background: rgba(255, 255, 255, 0.5);

// }

// ::-webkit-scrollbar-track {

//   box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);

//   border-radius: 10px;

//   background: rgba(57, 177, 255, 0.16);

// }
/* 整个滚动条 */
::-webkit-scrollbar {
  /* 对应纵向滚动条的宽度 */
  width: 6px;
  /* 对应横向滚动条的宽度 */
  height: 6px;
}

/* 滚动条上的滚动滑块 */
::-webkit-scrollbar-thumb {
  background-color: #999;

  border-radius: 32px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 32px;
}
 @font-face {
   font-family: 'Agency FB W00 Regular';
   src: url('~@/assets/fonts/Agency FB W00 Regular.ttf') format('truetype');
 }

